-- GENERATED SPELL FOR [Gusting Vortex] --


function spell0_8667(pUnit, Event) --@Gust of Wind,Self--
pUnit:FullCastSpellOnTarget(6982,pUnit)
pUnit:RegisterEvent('Sorts_8667', 6000, 1)
end

function Sorts_8667(pUnit, Event)
local choix_sorts_8667 = math.random(0, 0)
if choix_sorts_8667 == 0 then
pUnit:RegisterEvent('spell0_8667', 1, 1)
end
end

function mob8667_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8667', math.random(1500, 3000), 1)
end

function mob8667_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8667_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8667_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8667, 1, 'mob8667_Action')
RegisterUnitEvent(8667, 2, 'mob8667_Leave')
RegisterUnitEvent(8667, 3, 'mob8667_Kill')
RegisterUnitEvent(8667, 4, 'mob8667_Die')
